{% extends "base.html" %}

{% block title %}系统设置{% endblock %}

{% block content %}
<h2>系统设置</h2>
<form method="POST">
    <div class="mb-3">
        <label for="siteName" class="form-label">网站名称</label>
        <input type="text" class="form-control" id="siteName" name="site_name" value="湖南数学网">
    </div>

    <div class="mb-3">
        <label for="maintenanceMode" class="form-label">维护模式</label>
        <select class="form-select" id="maintenanceMode" name="maintenance_mode">
            <option value="0">关闭</option>
            <option value="1">开启</option>
        </select>
    </div>

    <button type="submit" class="btn btn-primary">保存设置</button>
</form>
{% endblock %}
